package com.jyw.business.ast.domain.vo.web;

import com.jyw.common.annotation.Conversion;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.Date;

@Data
@ApiModel("审批管理-资产转移-分页查询-返回实体")
@FieldNameConstants
public class AstTransferAuditPageVo {

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("转入科室")
    @Conversion(value = ConversionType.DEPT,name = Fields.inDeptName)
    private Long inDept;

    @ApiModelProperty("转入科室名称")
    private String inDeptName;

    /** 转移原因 */
    @ApiModelProperty("转移原因")
    private String reason;

    /** 审核状态(0未审核,1驳回,2已完成) */
    @ApiModelProperty("审核状态(0未审核,1驳回,2已完成)")
    private String auditState;

    /** 申请人 */
    @ApiModelProperty("申请人")
    @Conversion(value = ConversionType.USER,name = AstTransferPageVo.Fields.createUserName)
    private Long createUser;

    @ApiModelProperty("申请人名称")
    private String createUserName;

    /** 申请时间 */
    @ApiModelProperty("申请时间")
    private Date createTime;
}
